
function shaizi(){
  var randomnumber
  if(arguments.length==0){
    randomnumber=Math.ceil(Math.random()*6);
  }else{
    randomnumber=Math.ceil(Math.random()*6*arguments[0]);
  }

  console.log(randomnumber);
}

shaizi();
shaizi(2);
